package klasy.powtorka;

import java.util.Date;

public class Daty {

	@SuppressWarnings("unused")
	public static void main(String[] args) {

		System.out.println(new Date());
		String s = new Date().toString();
		System.out.println(s);
		
		Date birthday = new Date();
		Date deadline;
		deadline = birthday;
		System.out.println(birthday);
		System.out.println(deadline);
		deadline = null;
		System.out.println(deadline);
		if(deadline != null)
			System.out.println(deadline);
//		String s2 = deadline.toString();
		Date myDate = null;
//		String s3 = myDate.toString();
		
	}

}
